Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Gekkio/zk-async-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zk-async-example

Introduction

This is a sample project that shows one way of implementing asynchronous background processing with ZK server push.

Running the example

Do you want to test the asynchronous prototype instead? Switch to async branch (select async from "Current branch:" at top right section of this page)

1. Get the project

Either clone the repository git clone git://github.com/Gekkio/zk-async-example.git

or download a ZIP by using the ZIP button above and unzip that.

2. (Install Maven 3)

3. Start the application and open it in a browser

Experimenting with thread starvation

You can test server push thread starvation by uncommenting the relevant section in pom.xml. This will force Jetty to use only 3 threads and you'll quickly see if any of those threads are blocked.

About

Example of asynchronous processing and server push with ZK

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages