• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Functional Design and Architecture With Micro Services

 
Ranch Hand
Posts: 269
1
jQuery Spring Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Alex,



How does functional design impact the microservices architecture of an application when the functional aspect of any service changes? Can microservices adopt complete functional programming?

Glad to hear from you.


Thanks,
 
Author
Posts: 27
9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Mohammed Sardar. wrote:Hi Alex,



How does functional design impact the microservices architecture of an application when the functional aspect of any service changes? Can microservices adopt complete functional programming?

Glad to hear from you.


Thanks,




Hi Mohammed Sardar,

Thank you for your question.

FP is compatible with microservices. You can have your microservice apps completely written in an FP language, and I would do so with Haskell rather than in any different language. There are certain advantages of this choice, but they are not about the high-level solution because microservices are microservices no matter what paradigm is used. But you might be happy to enjoy nice FP features when writing your app: concurrency, bugs elimination, a reduced complexity. Especially if your microservice is "stateless". (I take this word into quotes because "stateless" doesn't necessarily mean the absence of any state. People may say "stateless" even when there is a DB to interact with.)
 
reply
    Bookmark Topic Watch Topic
  • New Topic