Okay. Btw, about my BDB question, how it can be implemented in DudaIO ?
On 6/8/13, Eduardo Silva <[email protected]> wrote: > On Sat, Jun 8, 2013 at 7:52 AM, Aris Setyawan <[email protected]> wrote: > >> http://duda.io/api/ -> I can't acess the API documentations. >> >> On 6/8/13, Eduardo Silva <[email protected]> wrote: >> > On Sat, Jun 8, 2013 at 3:39 AM, Aris Setyawan <[email protected]> >> wrote: >> > >> >> > If you are using Duda I/O let me know as it would be a bit >> >> > different. >> >> Feel free to send your questions, >> >> >> >> What is a Duda I/O? What is its purposes? >> >> >> >> >> > its a web services framework built on top of Monkey: http://duda.io >> > >> > regards, >> > >> > >> > >> >> On 6/8/13, Eduardo Silva <[email protected]> wrote: >> >> > Hi, >> >> > >> >> > >> >> > On Fri, Jun 7, 2013 at 10:53 PM, Aris Setyawan <[email protected]> >> >> wrote: >> >> > >> >> >> Hi, >> >> >> >> >> >> Is it possible to create BerkeleyDB context per monkey thread? >> >> >> >> >> > >> >> > If you have your own API or library for BerkeleyDB the answer is >> >> > Yes. >> >> > >> >> > The key to accomplish that is to create a connection in _mkp_thctx() >> >> hook, >> >> > create the context an save that pointer in a thread key >> >> > (pthread_key_create() ). So every time you want to retrieve the >> >> > database >> >> > context on each worker you just do pthread_getspecific(key_name). >> >> > >> >> > If you are using Duda I/O let me know as it would be a bit >> >> > different. >> >> Feel >> >> > free to send your questions, >> >> > >> >> > regards, >> >> > >> >> > -- >> >> > Eduardo Silva >> >> > http://edsiper.linuxchile.cl >> >> > http://monkey-project.com >> >> > >> >> >> > >> > >> > >> > -- >> > Eduardo Silva >> > http://edsiper.linuxchile.cl >> > http://monkey-project.com >> > >> > > at this moment i am migrating some data, please recheck in 15 min. > > regards, > > -- > Eduardo Silva > http://edsiper.linuxchile.cl > http://monkey-project.com > _______________________________________________ Monkey mailing list [email protected] http://lists.monkey-project.com/listinfo/monkey
