Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BIBO (D) [1 BUG, 2 TODOs]
08-13-2021, 09:03 AM (This post was last modified: 08-13-2021 09:03 AM by lingu.)
Post: #61
RE: BIBO (D)
(08-12-2021 02:44 PM)zhihao Wrote:  
(06-03-2021 06:33 PM)lingu Wrote:  
(05-22-2021 01:28 PM)lingu Wrote:  
(05-22-2021 11:22 AM)zhihao Wrote:  update headopst:
BIBO use port 22,80,62818

How to make this info easy to find and use?

?

record in U info is better.

Such port use info should be in M info. Do users need to know those ports?
Find all posts by this user
Quote this message in a reply
08-13-2021, 11:06 AM
Post: #62
RE: BIBO (D)
(08-13-2021 09:03 AM)lingu Wrote:  
(08-12-2021 02:44 PM)zhihao Wrote:  
(06-03-2021 06:33 PM)lingu Wrote:  
(05-22-2021 01:28 PM)lingu Wrote:  
(05-22-2021 11:22 AM)zhihao Wrote:  update headopst:
BIBO use port 22,80,62818

How to make this info easy to find and use?

?

record in U info is better.

Such port use info should be in M info. Do users need to know those ports?

No, engineers need
Quote this message in a reply
08-13-2021, 05:04 PM
Post: #63
RE: BIBO (D)
(09-24-2020 01:05 PM)zhihao Wrote:  simpleserv.sh
Code:
监听62818端口,执行$bibo_base/talk2thinker.sh

update logic to
---
reqno: request number
bibo_server_port: port used by bibo
Code:
while true {                                          
  if ($reqno==0){                                    
    sage_clear                                        
  }                                                  
                                                      
  lsof -i :$bibo_server_port
  rr= $?                                        
                                                      
  if ($rr == 0) // port being used                    
    echo "port $bibo_server_port is already in use, exit"
    exit 9                                            
  }                                                  
                                                      
  listen port $bibo_server_port                      
  rr = run talk2thinker.sh                            
                                                      
  if ($rr != 0){                                      
    reqno=7                                          
  }                                                  
  if ( $reqno > 6 ){                                  
    flog "  recycling at reqno $reqno"                
    reqno=0                                          
  }                                                  
  else {                                  
    reqno=$reqno+1                                                                                    
  }                                                
}
---
RR lingu
Quote this message in a reply
08-14-2021, 12:24 AM (This post was last modified: 08-14-2021 12:32 AM by lingu.)
Post: #64
RE: BIBO (D)
(09-24-2020 01:05 PM)zhihao Wrote:  insert_case()
Code:
insert_case() {
    create a new directory $newdir, set its name as $casecnt + 1
    copy $newcasepfn to $newdir

It's copied as a file named content.

We also increment casecnt

After that, we run 'auntie up --here=$newdir $casecnt

Quote: generate insert success response
}
[/code]

i'll update the headpost.
Find all posts by this user
Quote this message in a reply
07-18-2022, 12:41 PM
Post: #65
RE: BIBO (D)
driver: http://rar.shufangkeji.com:60380/showthr...4#pid54714
---
add two todos
TODO1: improve search function, 13 seconds is not fast
TODO2 : add concurrent query support.
Quote this message in a reply
Post Reply 


Forum Jump: