Activity
From 05/06/2015 to 06/04/2015
06/04/2015
- 11:39 AM Feature #2565: Implement async operations for Face.processEvents
- - you have the setIsRemoved() on the PIT entries; have you thought of just setting that and not removing the entry im...
06/03/2015
- 04:35 PM Feature #2565: Implement async operations for Face.processEvents
- Yes, I believe you are right: if I understand the commit correctly, you use Collections.synchronizedList so any add()...
- 12:39 PM Feature #2565: Implement async operations for Face.processEvents
- Hi Andrew. A sanity check: In Python we have a Face subclass to dispatch pretty much every method call to the single ...
- 12:28 PM Feature #2565: Implement async operations for Face.processEvents
- Here's the commit to use synchronizedList for pendingInterestTable, etc. I tried to be careful not to call the callba...
- 12:34 PM Bug #2846 (Closed): selfSign certificate name timestamp should be a version component
06/02/2015
- 03:56 PM Bug #2847 (Closed): Created cert name should use lower-case ksk
- Merged changes to master in all libraries.
- 03:40 PM Bug #2847 (Closed): Created cert name should use lower-case ksk
- IdentityStorage.getNewKeyName adds a name component starting with "KSK-". But it should be "ksk-" as required by the ...
- 09:28 AM Feature #2565: Implement async operations for Face.processEvents
- Yes, still in progress. Branch issue/2565-async-IO<br>
https://github.com/named-data/jndn/tree/issue/2565-async-IO
- 09:16 AM Feature #2565: Implement async operations for Face.processEvents
- Sounds good; are you working in a specific branch?
06/01/2015
- 01:58 PM Bug #2846 (Resolved): selfSign certificate name timestamp should be a version component
- Merged changes to master.
- 01:05 PM Bug #2846 (Closed): selfSign certificate name timestamp should be a version component
- When IdentityManager.selfSign creates the certificate name from the keyName, it just appends a name component with th...
- 11:13 AM Feature #2565: Implement async operations for Face.processEvents
- Hi Andrew. For starters, I'll switch the data structures like pendingInterestTable_ and interestFilterTable_ to use s...
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...
Also available in: Atom