Activity
From 04/28/2015 to 05/27/2015
05/27/2015
- 11:05 AM Feature #2565: Implement async operations for Face.processEvents
- Ha, I hear you; the benefits of a single managed event loop are awesome, even if it does make JavaScript single-threa...
- 10:30 AM Feature #2565: Implement async operations for Face.processEvents
- .. or is the idea that code should use both: dispatch to "some thread" in a thread pool where that thread does a bloc...
- 10:28 AM Feature #2565: Implement async operations for Face.processEvents
- The problem with synchronized is that a call to a synchronized method is effectively a blocking call (until the other...
- 10:14 AM Feature #2565: Implement async operations for Face.processEvents
- I mean speed like how many more bytes could the async version process if the network channel is always saturated with...
- 09:57 AM Feature #2565: Implement async operations for Face.processEvents
- Hi Andrew. Thanks for the mention of [ScheduledExecutorService](https://docs.oracle.com/javase/7/docs/api/java/util/c...
- 09:55 AM Feature #2565: Implement async operations for Face.processEvents
- My idea for real-world CPU benchmarks of the event loop is to run on a Raspberry Pi and look at uptime. Hopefully, t...
05/26/2015
- 04:20 PM Feature #2565: Implement async operations for Face.processEvents
- Makes sense; I wonder if there is a good way to benchmark the before and after for both speed and CPU time.
- 04:09 PM Feature #2565: Implement async operations for Face.processEvents
- Yes, the application will provide the thread pool to the library.
About the need for NIO, the concern is not for s... - 03:52 PM Feature #2565: Implement async operations for Face.processEvents
- Yeah, I implemented my event loop with https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Executors.html#...
- 01:28 PM Feature #2565: Implement async operations for Face.processEvents
- Yes, Java nio seems to have a different approach from Python, JavaScript and Boost. In those the library provides an ...
- 01:11 PM Feature #2565: Implement async operations for Face.processEvents
- I hadn't seen that one; I guess I thought the point of using NIO for jndn was to avoid the `while(true){ face.process...
- 11:38 AM Feature #2565: Implement async operations for Face.processEvents
- Hi Andrew. You say "the two NIO classes would be ...." but don't we need to use the async versions such as https://do...
05/19/2015
- 11:53 AM Feature #2565: Implement async operations for Face.processEvents
- OK, thanks. I'll try to use a scheduled event for the interest timeout.
- 11:50 AM Feature #2565: Implement async operations for Face.processEvents
- This "loop" (actually it is event rescheduled every 100ms) is just a legacy part that is in pipeline to be replaced t...
- 10:26 AM Feature #2565: Implement async operations for Face.processEvents
- Hi Alex. For the interest timeout it is possible to schedule an event to fire at the time of expiration. But ndn-cxx ...
05/13/2015
- 10:50 AM Feature #2565: Implement async operations for Face.processEvents
- Exceptions that are not explicitly handled within callback are in most cases critical. NFD/NLSR and some other apps ...
- 09:46 AM Feature #2565: Implement async operations for Face.processEvents
- Thanks for the reference in the NIO classes.
At least in Java, the application is already forced to handle I/O exc... - 09:33 AM Feature #2565: Implement async operations for Face.processEvents
- And just for reference, the two NIO classes would be https://docs.oracle.com/javase/7/docs/api/java/nio/channels/Data...
- 09:31 AM Feature #2565: Implement async operations for Face.processEvents
- Jeff, what's your opinion on having some type of callback to handle those exceptions? That way I can avoid having a t...
05/12/2015
- 11:56 AM Feature #2565: Implement async operations for Face.processEvents
- For example, it doesn't look like ndn-cxx catches exceptions in the async I/O callback. If onInterest throws an excep...
- 09:31 AM Feature #2565: Implement async operations for Face.processEvents
- If the application's onInterest or onData callback throws an exception (in the nio thread), where would you expect th...
05/06/2015
- 11:30 AM Bug #2791 (Closed): ControlParameters forwarding flags are decoded incorrectly
- Added the explicit check in decodeControlParameters. Added the unit test. (also in NDN-JS):
https://github.com/nam... - 11:16 AM Bug #2791 (Closed): ControlParameters forwarding flags are decoded incorrectly
- In TestControlParametersEncodeDecode.testEncodeDecode I added the following test which fails:
assertEquals("de...
05/01/2015
- 12:30 PM Bug #2758 (Closed): encodeControlParameters does not properly encode parameters for some inputs
- Changed ControlParameters to allow a null name. In encodeControlParameters, only omit the name if null.
Also available in: Atom