Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
54thAirhacksQ&A.md
@litts

This comment has been minimized.

Show comment
Hide comment
@litts

litts Aug 13, 2018

Hi Adam,

Thanks for the great show always looking forward to the show every first week of the month. I have a question on the BCE architecture, how do you structure your reports logic. Whats your recommendation do you stick it with the business domain and make a sub package for reporting?

Your 2 cents will be greatly appreciated.

Thanks,
Litts

litts commented Aug 13, 2018

Hi Adam,

Thanks for the great show always looking forward to the show every first week of the month. I have a question on the BCE architecture, how do you structure your reports logic. Whats your recommendation do you stick it with the business domain and make a sub package for reporting?

Your 2 cents will be greatly appreciated.

Thanks,
Litts

@vanuatoo

This comment has been minimized.

Show comment
Hide comment
@vanuatoo

vanuatoo Aug 17, 2018

Hello Adam,

Looking forward for your wise advice on the following issues:

  1. Angular Front-End talks to JAX-RS Back-End.
    After successful authentication token is generated and stored in a cookie.
    For every request the back-end checks if the token is expired and if not, extends timeout just like HttpSession does.
    Token is stored in RDBMS, so every request hits the database.
    We also use HttpAuthenticationMechanism to authorize the tokens and every request hits the database to get user roles.
    Which caching solution would you propose to handle large numbers of users in a clustered environment?

  2. How to implement Timer service (EJB Timer or ManagedScheduledExecutorService) fail-over in a clustered environment?
    For example: 2 payara-full servers running in a docker behind haproxy.
    Challenge #1: ensure that only one server runs the timer function.
    Challenge #2: ensure that if one server dies, the second one runs the timer function.

Thanks,
Vano

vanuatoo commented Aug 17, 2018

Hello Adam,

Looking forward for your wise advice on the following issues:

  1. Angular Front-End talks to JAX-RS Back-End.
    After successful authentication token is generated and stored in a cookie.
    For every request the back-end checks if the token is expired and if not, extends timeout just like HttpSession does.
    Token is stored in RDBMS, so every request hits the database.
    We also use HttpAuthenticationMechanism to authorize the tokens and every request hits the database to get user roles.
    Which caching solution would you propose to handle large numbers of users in a clustered environment?

  2. How to implement Timer service (EJB Timer or ManagedScheduledExecutorService) fail-over in a clustered environment?
    For example: 2 payara-full servers running in a docker behind haproxy.
    Challenge #1: ensure that only one server runs the timer function.
    Challenge #2: ensure that if one server dies, the second one runs the timer function.

Thanks,
Vano

@ssr7

This comment has been minimized.

Show comment
Hide comment
@ssr7

ssr7 Aug 18, 2018

Hi Adam.
I want to start project that is store files on network for that each file split number of slice and send nodes(former) .Each node share his hard disk (min 10 G). End client if has coin he can upload and download file from these nodes. If download or upload file from one node, the system must be calculate coin and save on network with blockchain.
Is Actor model good for this project? if yes, which actor model is good? AKKA or Vertex or other?
Thanks.

ssr7 commented Aug 18, 2018

Hi Adam.
I want to start project that is store files on network for that each file split number of slice and send nodes(former) .Each node share his hard disk (min 10 G). End client if has coin he can upload and download file from these nodes. If download or upload file from one node, the system must be calculate coin and save on network with blockchain.
Is Actor model good for this project? if yes, which actor model is good? AKKA or Vertex or other?
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment