Rigorous and Reliable (RAR)

Full Version: BIBO (D) [1 BUG, 2 TODOs]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7
(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?

zhihao

(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

zhihao

(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
(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.

zhihao

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.
Pages: 1 2 3 4 5 6 7
Reference URL's