Skip to content

Commit f78242d

Browse files
Merge pull request #3255 from syncfusion-content/EJ2-897352-UgRedisMDev
897352: Adding changes in Redis UG
2 parents f725742 + edbb3ff commit f78242d

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

ej2-asp-core-mvc/document-editor/collaborative-editing/overview.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ To support collaborative editing, it's crucial to have a backing system that tem
3232
Using the distributed cache or database all the editing operations are queued in order and conflict resolution is performed using `Operational Transformation` Algorithm.
3333

3434
> *Recommendation* - If you expect average `http` requests per second of your live application as 50 or below, then the database can provide reliable a backing system for operation queue. If you expect average requests per second of your live application as above 50, then the distributed cache is highly recommended backing system.
35+
3536
> Tips to calculate the average requests per second of your application:
3637
Assume the editor in your live application is actively used by 1000 users and each user's edit can trigger 2 to 5 requests per second. The total requests per second of your applications will be around 2000 to 5000. In this case, you can finalize a configuration to support around 5000 average requests per second.
3738

ej2-asp-core-mvc/document-editor/collaborative-editing/using-redis-cache-asp-net.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ public async Task<ActionInfo> UpdateAction([FromBody] ActionInfo param)
321321
{
322322
try
323323
{
324-
ActionInfo modifiedAction = AddOperationsToTable(param);
324+
ActionInfo modifiedAction = AddOperationsToCache(param);
325325
//After transformation broadcast changes to all users in the gropu
326326
await _hubContext.Clients.Group(param.RoomName).SendAsync("dataReceived", "action", modifiedAction);
327327
return modifiedAction;
@@ -332,7 +332,7 @@ public async Task<ActionInfo> UpdateAction([FromBody] ActionInfo param)
332332
}
333333
}
334334

335-
private ActionInfo AddOperationsToTable(ActionInfo action)
335+
private ActionInfo AddOperationsToCache(ActionInfo action)
336336
{
337337
int clientVersion = action.Version;
338338
string insertScript = "-------"

ej2-asp-core-toc.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -901,8 +901,8 @@
901901
<li><a href="/ej2-asp-core/document-editor/export">Export</a></li>
902902
<li><a href="/ej2-asp-core/document-editor/collaborative-editing/overview">Collaborative Editing</a>
903903
<ul>
904-
<li><a href="/ej2-asp-core/document-editor/collaborative-editing/using-redis-cache-asp-net">Using Redis in ASP .NET Core</a></li>
905-
<li><a href="/ej2-asp-core/document-editor/collaborative-editing/using-dot-net">Using Database in ASP .NET Core</a></li>
904+
<li><a href="/ej2-asp-core/document-editor/collaborative-editing/using-redis-cache-asp-net">Using Redis in ASP.NET Core</a></li>
905+
<li><a href="/ej2-asp-core/document-editor/collaborative-editing/using-dot-net">Using Database in ASP.NET Core</a></li>
906906
</ul>
907907
</li>
908908
<li><a href="/ej2-asp-core/document-editor/image">Images</a></li>

ej2-asp-mvc-toc.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -850,8 +850,8 @@
850850
<li><a href="/ej2-asp-mvc/document-editor/export">Export</a></li>
851851
<li> <a href="/ej2-asp-mvc/document-editor/collaborative-editing/overview">Collaborative Editing</a>
852852
<ul>
853-
<li><a href="/ej2-asp-mvc/document-editor/collaborative-editing/using-redis-cache-asp-net">Using Redis in ASP .NET MVC</a></li>
854-
<li><a href="/ej2-asp-mvc/document-editor/collaborative-editing/using-dot-net">Using Database in ASP .NET MVC</a></li>
853+
<li><a href="/ej2-asp-mvc/document-editor/collaborative-editing/using-redis-cache-asp-net">Using Redis in ASP.NET MVC</a></li>
854+
<li><a href="/ej2-asp-mvc/document-editor/collaborative-editing/using-dot-net">Using Database in ASP.NET MVC</a></li>
855855
</ul>
856856
</li>
857857
<li><a href="/ej2-asp-mvc/document-editor/image">Images</a></li>

0 commit comments

Comments
 (0)