-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JCache session persistence #2844
Comments
review comments for @ManasiGandhi
Will post second half of comments later. I noticed several sections in the page were duplicated, so I've asked Manasi to fix it and then get back to me when the duplication issues are fixed. |
@aguibert I worked on the updates. Here is the link https://draft-openlibertyio.mybluemix.net/docs/20.0.0.12/distributed-session-caching.html. Let me know if the changes look good. |
@ManasiGandhi thanks, changes look good now |
Thanks. Comments below:
|
I worked on Laura's review for this issue. Waiting for the changes to show after the builds are resolved. |
@rw2513 Can you peer review this topic https://draft-openlibertyio.mybluemix.net/docs/21.0.0.2/distributed-session-caching.html |
Content reviewIntro-I think you still need to address Laura’s comment regarding further explanation for using the sessionCache feature when HTTPSessions is already in use. I agree that clarifying why would someone would use the sessionCache feature in this scenario would be helpful. Configure session caching
Session caching in your application
Joining multiple servers
|
@Rwalls1 I worked on your review. Here is the link to the draft https://draft-openlibertyio.mybluemix.net/docs/21.0.0.4/distributed-session-caching.html
|
Content review@ManasiGandhi Thanks, I think you addressed all of Laura's feedback, I just have a few more comments: GlobalI think you should refer to the Intro
Session caching in your applicationI think the sentence, “The following example shows what the HTTP session caching might look like.” needs more context. It is not clear where the configuration in the example is happening. I think you should identify where this HTTP session caching is configured. Also, it is not clear what purpose the Joining multiple servers together
|
@Rwalls1 Thanks for your review. I worked on your comments. Here's a link to the updated draft https://draft-openlibertyio.mybluemix.net/docs/21.0.0.5/distributed-session-caching.html Content review@ManasiGandhi Thanks, I think you addressed all of Laura's feedback, I just have a few more comments: Global
Intro
Session caching in your application
Joining multiple servers together
|
@ManasiGandhi Thanks, I just have a few more comments: IntroWhile the use of the phrase of "on top" is not an accessibility issue in relation to referencing a location on the page , I still think the phrase doesn't add value without additional context and could potentially be confusing. The word "top" is also flagged by Acrolinx. I think to be more concise and avoid the use of an unnecessary extra word, I think should change each instance of, "on top" to "on". Session caching in your applicationI think the example provided in this section still needs a more detailed description to help understand how the configuration shows "how two Open Liberty servers might share information". Which elements in the configuration enable this information sharing? I think you should either provide more details in this section or include this example on the JCache Session Persistence feature page and include more details there. Joining multiple servers together
|
@Rwalls1 Thanks for reviewing. I worked on your suggestions. Here's a link to the draft https://docs-draft-openlibertyio.mybluemix.net/docs/21.0.0.5/distributed-session-caching.html IntroWhile the use of the phrase of "on top" is not an accessibility issue in relation to referencing a location on the page , I still think the phrase doesn't add value without additional context and could potentially be confusing. The word "top" is also flagged by Acrolinx. I think to be more concise and avoid the use of an unnecessary extra word, I think should change each instance of, "on top" to "on". Session caching in your application
Joining multiple servers together
|
Peer reviewTopic looks good- I have a few suggestions for clarity and to restore some details that were lost from the original blog post. Intro
Session caching in your application.
Joining multiple servers together---> Join multiple servers together (since this is not a task topic, avoid gerunds in the heading).
This description needs more detail. The examples show two applications, service A and service B, that are both running on different Open Liberty servers that are part of the same cluster. In the example, service A sets the value for the
This doesnt really tell the user why or when they would create their own config file. Maybe: You don’t need to specify a Hazelcast configuration file if the default Hazelcast configuration works for you. However, you can create configuration file similar to the following example and add a reference to it from your server.xml file to customize how Hazelcast defines the cluster: [example] In this example, specifying the |
@dmuelle I worked on your review. Here's the link to the updated doc https://draft-openlibertyio.mybluemix.net/docs/21.0.0.6/distributed-session-caching.html Peer reviewTopic looks good- I have a few suggestions for clarity and to restore some details that were lost from the original blog post. Intro
I'd revise this to make reference to "high availability", which is a good SEO term for this topic. ANdy also mentioned shopping carts in his intro, which is a good concrete example to orient the reader. Maybe something like:
This seems a little vague and convoluted. Maybe:
---> Session caching in your application.
If your application already caches HTTP session data, you don't need to make any code changes in the application to use the the JCache Session Persistence feature. Instead, configure the JCache Session Persistence feature in your
The following diagram shows two Open Liberty servers that share a persisted session cache by using a JCache implementation:
I don't think this is quite accurate, because the servers would have to be joined, not just in the same environment. Maybe:
---> Join multiple servers together (since this is not a task topic, avoid gerunds in the heading).
This description needs more detail. The examples show two applications, service A and service B, that are both running on different Open Liberty servers that are part of the same cluster. In the example, service A sets the value for the
I think this is based on this sentence in the blog post:
This doesnt really tell the user why or when they would create their own config file. Maybe: You don’t need to specify a Hazelcast configuration file if the default Hazelcast configuration works for you. However, you can create configuration file similar to the following example and add a reference to it from your server.xml file to customize how Hazelcast defines the cluster: [example] In this example, specifying the |
Topic looks good! I just have a couple more suggestions to provide clarity and continuity throughout the topic:
Joining multiple servers togetherI think this section needs another sentence or two to explain why or when you would chose client vs p2p. Look at the infinspan topic, last paragraph if the intro. It discusses the differences btwn the two models for infinispan. But I think something more general would fit here, after you introduce the two models, like
I think the last part should be it's own section: "Customize your JCache implementation" I also recommend adding a See also section that links to Richard's Infinispan topic |
@dmuelle I made the updates per your suggestions. Here's the link to the draft https://draft-openlibertyio.mybluemix.net/docs/21.0.0.6/distributed-session-caching.html
Joining multiple servers together
Most JCache implementations provide sensible default settings. However, if you need to customize your implementation, you can specify a JCache configuration file and reference it from your server.xml file (link to the example on the Jcache feature page). The following example Hazlecast configuration file customizes how Hazelcast defines the cluster:
|
added peer review label. I also restored technical reviewed label. Andy had added the label previously and I removed it when we revised the doc. However, the technical details did not change in the revision so I added it back. |
updated url: https://openliberty.io/docs/latest/distributed-session-caching.html This topic will be revised or possibly removed as part of #5910 |
Based on:
https://openliberty.io/blog/2018/03/22/distributed-in-memory-session-caching.html
The text was updated successfully, but these errors were encountered: